site.canPut()

Availability 3.0
Description Determines whether Dreamweaver can perform a Put operation.
Arguments siteOrURL
The argument must be the keyword "site", indicating that the function should act on the selection in the Site window, or the URL for a single file.
Returns If the argument is "site", a Boolean value indicating whether any files or folders are selected in the Site window and a remote site has been defined. If the argument is a URL, a Boolean value indicating whether the document belongs to a site for which a remote site has been defined.